package org.example.mygobang.game;

//这表示一个websocket响应，匹配大厅
public class MatchResponse {
    //该参数表示是否匹配成功
    private boolean ok;
    //如果匹配失败，表示失败原因的信息
    private String reason;
    //表示的响应结果
    //startMatch：表示开始匹配
    //stopMatch：表示停止匹配
    //matchSuccess：匹配成功
    private String message;

    public boolean isOk() {
        return ok;
    }

    public void setOk(boolean ok) {
        this.ok = ok;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
